<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<%=link_to  '修改测试' , :action=>"new"%> >> </p>

<br />

<% form_for(@test, :url => { :action => "update" } ) do |f| %>
  <%= f.hidden_field :id %>
  <p>
    <%= f.label "测试名称" %><br/>
    <%= f.text_field :name %>
    <%= error_message_on "test", "name" %>
  </p>
  <p>
    <%= f.label '测试说明' %><br/>
    <%= f.text_area :description, :cols => 60, :rows => 12 %>
    <%= error_message_on "test", "description" %>
  </p>
  <p>
    <%= f.submit "保存" %>
  </p>  
<% end %>

